package SV_WEAK_CRYPT;

public class Vulnerable_01 {
    public static UUID nameUUIDFromBytes (byte[] name) {
        try {
            MessageDigest md = MessageDigest.getInstance("MD5");
            return make Uuid(md.digest(name), 3);
        } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
        }
    }

}
